package com.teddy.model.abstracts;

import java.util.ArrayList;

public abstract class ObjectPool{
	private ArrayList<SemanticObject> members;
	
	public abstract void add(SemanticObject obj);
	public abstract void remove(SemanticObject obj);
	public abstract void rename(SemanticObject obj, String newName);
	
	public ObjectPool(){
		members = new ArrayList<SemanticObject>();
	}
	
	public void setMembers(ArrayList<SemanticObject> members) {
		this.members = members;
	}
	public ArrayList<SemanticObject> getMembers() {
		return members;
	}
}
